package cn.com.djin.ssm.entity;

//收货地址对象
public class Address extends BaseEntity{

	private static final long serialVersionUID = 1L;

	//对象id
	private Integer aid;
	//收货人
	private String aname;
	//地址名称
	private String loc;
	//联系方式
	private String iphone;
	//地址类别
	private Integer atype;
	//用户对象
	private User user;
	
	public Integer getAid() {
		return aid;
	}
	public void setAid(Integer aid) {
		this.aid = aid;
	}
	public String getLoc() {
		return loc;
	}
	public void setLoc(String loc) {
		this.loc = loc;
	}
	public String getIphone() {
		return iphone;
	}
	public void setIphone(String iphone) {
		this.iphone = iphone;
	}
	public Integer getAtype() {
		return atype;
	}
	public void setAtype(Integer atype) {
		this.atype = atype;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getAname() {
		return aname;
	}
	public void setAname(String aname) {
		this.aname = aname;
	}
	@Override
	public String toString() {
		return "Address [aid=" + aid + ", aname=" + aname + ", loc=" + loc + ", iphone=" + iphone + ", atype=" + atype
				+ ", user=" + user + "]";
	}
	
}
